﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CCDiscrepanceRule.aspx.cs" Inherits="WMS6.Web.Configuration.CCDiscrepanceRule" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>CCDiscrepanceRule</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
    <script src="../Js/util.js" id="js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>    
    <script src="../Js/Verification.js" type="text/ecmascript"></script>
    
    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }
        
        function newCCDiscrepanceRule()
        {
            var from = document.getElementById("hdnFrom").value;
            window.location.href = "CCDiscrepanceRule.aspx?from="+escape(from);
            return false;
        }
        
        function confirmMsg(code)
        {
            if(code == "C001")
            {
                if(confirm('<%=GetGlobalMsgResource("C001") %>'))
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }

        }
        
    </script>
</head>
<body>
    <form id="F2215" runat="server">
    <div>
            
            <asp:ScriptManager ID="ScriptManager1" runat="server" />
            
            <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom"><asp:Label ID="lblOwner" runat="server" CssClass="label_header" 
                            Text="循环盘点差异处理规则" meta:resourcekey="lblOwner"></asp:Label></td>
                    <td><asp:Button ID="btnGoBack" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnGoBack%>" Enabled="False" 
                            onclick="btnGoBack_Click"   /></td>
                    <td><asp:Button ID="btnNew" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnNew%>"  
                            Enabled="False" AccessKey="n" OnClientClick="newCCDiscrepanceRule();" 
                            /></td>
                    <td><asp:Button ID="btnSave" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>" Enabled="False" 
                            AccessKey="s" onclick="btnSave_Click" 
                              /></td>
                    <td><asp:Button ID="btnDelete" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnDelete%>"  Enabled="False" 
                            AccessKey="d" 
                            OnClientClick="javascript:if(confirmMsg('C001')) return true; else return false;" 
                            onclick="btnDelete_Click"   /></td>
                    <td><asp:Button ID="btnCopy" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnCopy%>" Enabled="False" 
                            AccessKey="c" onclick="btnCopy_Click" 
                               /></td>
                </tr>
            </table>
        </div>
        
            <asp:UpdatePanel ID="up1" runat="server">
                <ContentTemplate>
                     <div>
                        <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                             meta:resourcekey="lblMsg"></asp:Label>
                    </div>
                    
                    
                    <div id="div_menu">
                        <div style="float: left; width: 8px;">
                            <div class="tabL" id="divL1"></div>
                        </div>
                        <div style="float:left;" class="tabLabelCont tabCur"  id="divM1">
                            <asp:Label ID="one1" CssClass="hover" runat="server" 
                                meta:resourcekey="one1">常规</asp:Label></div>
                        <div style="float: left; margin-right: 2px;">
                            <div class="tabR" id="divR1"></div>
                        </div>
                    </div>
                    
                    
                    <div id="div_content">
                         <div id="con_one_1" style="display: block;">
                             <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                                <tr>
                                     <td width="180">
                                         <asp:Label ID="lbCcAdjRuleID" runat="server" CssClass="label" 
                                             Text="处理规则代码" meta:resourcekey="lbCcAdjRuleID"></asp:Label><span
                                        class="must_input">*</span>
                                     </td>
                                     <td width="180">
                                         &nbsp;</td>
                                     <td width="180">
                                         &nbsp;</td>
                                 </tr>
                                 <tr>
                                     <td>
                                         <asp:TextBox ID="txtCcAdjRuleID" runat="server" CssClass="textbox" 
                                             MaxLength="20" meta:resourcekey="txtCcAdjRuleID"></asp:TextBox>
                                     </td>
                                     <td>
                                         &nbsp;</td>
                                     <td>
                                         &nbsp;</td>
                                  </tr>
                                  
                                  <tr>
                                     <td width="180">
                                         <asp:Label ID="lblDescr" runat="server" CssClass="label" Text="说明" 
                                             meta:resourcekey="lblDescr"></asp:Label><span
                                        class="must_input">*</span>
                                     </td>
                                     <td width="180">
                                         &nbsp;</td>
                                     <td width="180">
                                         &nbsp;</td>
                                 </tr>
                                 <tr>
                                     <td colspan="2">
                                         <asp:TextBox ID="txtDescr" runat="server" CssClass="largetextbox" 
                                             MaxLength="50" meta:resourcekey="txtDescr"></asp:TextBox>
                                     </td>
                                     <td>&nbsp;</td>
                                  </tr>
                                  
                                  <tr>
                                     <td>
                                        <asp:CheckBox ID="chkIsActive" runat="server" CssClass="checkbox" Text="启用" 
                                             Checked="True" meta:resourcekey="chkIsActive" />
                                     </td>
                                     <td></td>
                                     <td></td>
                                 </tr>
                                 
                                 <tr>
                                     <td>
                                        <asp:CheckBox ID="chkSysCreate" runat="server" CssClass="checkbox"  Text="系统创建" 
                                             Enabled="False" meta:resourcekey="chkSysCreate" />
                                     </td>
                                     <td></td>
                                     <td></td>
                                 </tr>
                                 
                                 <tr style="height:10px;">
                                     <td width="180"></td>
                                     <td width="180"></td>
                                     <td width="180"></td>
                                 </tr>
                                 
                                 <tr>
                                    <td width="180"><asp:Label ID="lbl1" runat="server" CssClass="label" Text="盘盈" 
                                            meta:resourcekey="lbl1"></asp:Label></td>
                                    <td width="180"><asp:Label ID="lbl2" runat="server" CssClass="label" Text="盘亏" 
                                            meta:resourcekey="lbl2"></asp:Label></td>
                                    <td width="180">&nbsp;</td>
                                 </tr>
                                 
                                 <tr style="height:10px;">
                                     <td width="180"></td>
                                     <td width="180"></td>
                                     <td width="180"></td>
                                 </tr>
                                 
                                 <tr>
                                    <td width="180"><asp:Label ID="lblPosAdjLot" runat="server" CssClass="label" 
                                            Text="批次号" meta:resourcekey="lblPosAdjLot"></asp:Label></td>
                                    <td width="180"><asp:Label ID="lblNegAdjLot" runat="server" CssClass="label" 
                                            Text="批次号" meta:resourcekey="lblNegAdjLot"></asp:Label></td>
                                    <td width="180">&nbsp;</td>
                                 </tr>
                                 <tr>
                                    <td width="180"><asp:DropDownList ID="ddlPosAdjLot" runat="server" 
                                            CssClass="mediumselectbox" meta:resourcekey="ddlPosAdjLot"></asp:DropDownList></td>
                                    <td width="180"><asp:DropDownList ID="ddlNegAdjLot" runat="server" 
                                            CssClass="mediumselectbox" meta:resourcekey="ddlNegAdjLot"></asp:DropDownList></td>
                                    <td width="180">&nbsp;</td>
                                 </tr>
                                 
                                 <tr>
                                    <td width="180"><asp:Label ID="lblPosAdjProduceDate" runat="server" 
                                            CssClass="label" Text="生产日期" meta:resourcekey="lblPosAdjProduceDate"></asp:Label></td>
                                    <td width="180"><asp:Label ID="lblNegAdjProduceDate" runat="server" 
                                            CssClass="label" Text="生产日期" meta:resourcekey="lblNegAdjProduceDate"></asp:Label></td>
                                    <td width="180">&nbsp;</td>
                                 </tr>
                                 <tr>
                                    <td width="180"><asp:DropDownList ID="ddlPosAdjProduceDate" runat="server" 
                                            CssClass="mediumselectbox" meta:resourcekey="ddlPosAdjProduceDate"></asp:DropDownList></td>
                                    <td width="180"><asp:DropDownList ID="ddlNegAdjProduceDate" runat="server" 
                                            CssClass="mediumselectbox" meta:resourcekey="ddlNegAdjProduceDate"></asp:DropDownList></td>
                                    <td width="180">&nbsp;</td>
                                 </tr>
                                 
                                 <tr>
                                    <td width="180"><asp:Label ID="lblPosAdjExpiryDate" runat="server" CssClass="label" 
                                            Text="失效日期" meta:resourcekey="lblPosAdjExpiryDate"></asp:Label></td>
                                    <td width="180"><asp:Label ID="lblNegAdjExpiryDate" runat="server" CssClass="label" 
                                            Text="失效日期" meta:resourcekey="lblNegAdjExpiryDate"></asp:Label></td>
                                    <td width="180">&nbsp;</td>
                                 </tr>
                                 <tr>
                                    <td width="180"><asp:DropDownList ID="ddlPosAdjExpiryDate" runat="server" 
                                            CssClass="mediumselectbox" meta:resourcekey="ddlPosAdjExpiryDate"></asp:DropDownList></td>
                                    <td width="180"><asp:DropDownList ID="ddlNegAdjExpiryDate" runat="server" 
                                            CssClass="mediumselectbox" meta:resourcekey="ddlNegAdjExpiryDate"></asp:DropDownList></td>
                                    <td width="180">&nbsp;</td>
                                 </tr>
                                 
                                 <tr>
                                    <td width="180"><asp:Label ID="lblPosAdjReceiptDate" runat="server" 
                                            CssClass="label" Text="入库日期" meta:resourcekey="lblPosAdjReceiptDate"></asp:Label></td>
                                    <td width="180"><asp:Label ID="lblNegAdjReceiptDate" runat="server" 
                                            CssClass="label" Text="入库日期" meta:resourcekey="lblNegAdjReceiptDate"></asp:Label></td>
                                    <td width="180">&nbsp;</td>
                                 </tr>
                                 <tr>
                                    <td width="180"><asp:DropDownList ID="ddlPosAdjReceiptDate" runat="server" 
                                            CssClass="mediumselectbox" meta:resourcekey="ddlPosAdjReceiptDate"></asp:DropDownList></td>
                                    <td width="180"><asp:DropDownList ID="ddlNegAdjReceiptDate" runat="server" 
                                            CssClass="mediumselectbox" meta:resourcekey="ddlNegAdjReceiptDate"></asp:DropDownList></td>
                                    <td width="180">&nbsp;</td>
                                 </tr>
                                  
                                   <tr>
                                     <td>
                                        <asp:CheckBox ID="chkQtyGtrZero" runat="server" CssClass="checkbox" Text="量大于零" 
                                             Checked="True" meta:resourcekey="chkQtyGtrZero" />
                                     </td>
                                     <td></td>
                                     <td></td>
                                 </tr>
                                 <tr>
                                     <td>&nbsp;</td>
                                     <td>&nbsp;</td>
                                     <td>&nbsp;</td>
                                 </tr>
                                  
                             </table>
                         </div>
                    </div>
                </ContentTemplate>
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="btnNew" EventName="Click" />
                        <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
                        <asp:AsyncPostBackTrigger ControlID="btnCopy" EventName="Click" />
                    </Triggers>
            </asp:UpdatePanel>
    </div>
        <input type="hidden" id="hdnFrom" runat="server" />
    </form>
</body>
</html>
